home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 25
/
PC Gamer IT CD 25.iso
/
ZGI_DEMO
/
DATA
/
SCRIPTS.ZFS
/
uc1g.scr
< prev
next >
Wrap
Text File
|
1997-09-04
|
21KB
|
667 lines
# Node uc1g generated on Thu Sep 04 16:18:52 1997
world u
room c
nodeview 1g
puzzle:01613 { # uc1g_no_prefs
criteria {
}
results {
action:menu_bar_enable(781)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01614 { # uc1g_preload
criteria {
}
results {
action:animpreload:01615(uc1ga012.avi 0 0 0 0) # uc1g_shatter_glass_avi
action:animpreload:01616(uc1ga022.avi 0 0 0 0) # uc1g_open_close_hammer_avi
action:animpreload:01617(uc1ga032.avi 0 0 0 0) # uc1g_open_close_nohammer_avi
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01618 { # uc1g_add_to_score
criteria {
[01619] = 1 # uc1g_break_glass
}
results {
action:add(14999, 10) # user_score
}
}
puzzle:01620 { # uc1g_dm_speaks
criteria {
[01024] ! 1 # voice_over
}
results {
action:kill(01024) # voice_over
action:assign(01582, 4) # person_talking
action:universe_music:01024(1 uc1gh60p.raw 0 100) # voice_over
}
}
puzzle:01621 { # uc1g_screenset
criteria {
[01619] = 0 # uc1g_break_glass
[01622] = 0 # uc1g_case_open
[01549] = 0 # uc1g_pickup_hammer
}
results {
action:set_screen(uc1gf011.tga)
action:enable_control(01623) # uc1g_open_case_ctrl
action:disable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01625) # uc1g_break_case_ctrl
action:disable_control(01626) # uc1g_grab_hammer
action:disable_control(01627) # uc1g_cant_grab_hotspot
action:enable_control(01628) # uc1g_grab_map
action:enable_control(01629) # uc1g_grab_sword1
action:enable_control(01630) # uc1g_grab_sword2
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01621 { # uc1g_screenset
criteria {
[01619] = 0 # uc1g_break_glass
[01622] = 1 # uc1g_case_open
[01549] = 0 # uc1g_pickup_hammer
}
results {
action:disable_control(01623) # uc1g_open_case_ctrl
action:enable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01625) # uc1g_break_case_ctrl
action:enable_control(01626) # uc1g_grab_hammer
action:disable_control(01628) # uc1g_grab_map
action:disable_control(01629) # uc1g_grab_sword1
action:disable_control(01630) # uc1g_grab_sword2
action:enable_control(01627) # uc1g_cant_grab_hotspot
action:set_screen(uc1gf021.tga)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01621 { # uc1g_screenset
criteria {
[01619] = 0 # uc1g_break_glass
[01622] = 0 # uc1g_case_open
[01549] = 1 # uc1g_pickup_hammer
}
results {
action:enable_control(01623) # uc1g_open_case_ctrl
action:disable_control(01624) # uc1g_close_case_ctrl
action:enable_control(01625) # uc1g_break_case_ctrl
action:disable_control(01626) # uc1g_grab_hammer
action:disable_control(01627) # uc1g_cant_grab_hotspot
action:enable_control(01628) # uc1g_grab_map
action:enable_control(01629) # uc1g_grab_sword1
action:enable_control(01630) # uc1g_grab_sword2
action:set_screen(uc1gf031.tga)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01621 { # uc1g_screenset
criteria {
[01619] = 0 # uc1g_break_glass
[01622] = 1 # uc1g_case_open
[01549] = 1 # uc1g_pickup_hammer
}
results {
action:disable_control(01623) # uc1g_open_case_ctrl
action:enable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01625) # uc1g_break_case_ctrl
action:disable_control(01626) # uc1g_grab_hammer
action:disable_control(01628) # uc1g_grab_map
action:disable_control(01629) # uc1g_grab_sword1
action:disable_control(01630) # uc1g_grab_sword2
action:disable_control(01627) # uc1g_cant_grab_hotspot
action:set_screen(uc1gf041.tga)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01621 { # uc1g_screenset
criteria {
[01619] = 1 # uc1g_break_glass
[01550] = 0 # uc1g_pickup_map_1
[01551] = 0 # uc1g_pickup_sword_1
}
results {
action:disable_control(01623) # uc1g_open_case_ctrl
action:disable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01625) # uc1g_break_case_ctrl
action:disable_control(01626) # uc1g_grab_hammer
action:enable_control(01628) # uc1g_grab_map
action:enable_control(01629) # uc1g_grab_sword1
action:enable_control(01630) # uc1g_grab_sword2
action:disable_control(01627) # uc1g_cant_grab_hotspot
action:set_screen(uc1gf051.tga)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01621 { # uc1g_screenset
criteria {
[01619] = 1 # uc1g_break_glass
[01550] = 0 # uc1g_pickup_map_1
[01551] = 1 # uc1g_pickup_sword_1
}
results {
action:disable_control(01623) # uc1g_open_case_ctrl
action:disable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01625) # uc1g_break_case_ctrl
action:disable_control(01626) # uc1g_grab_hammer
action:enable_control(01628) # uc1g_grab_map
action:disable_control(01629) # uc1g_grab_sword1
action:disable_control(01630) # uc1g_grab_sword2
action:disable_control(01627) # uc1g_cant_grab_hotspot
action:set_screen(uc1gf061.tga)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01621 { # uc1g_screenset
criteria {
[01619] = 1 # uc1g_break_glass
[01550] = 1 # uc1g_pickup_map_1
[01551] = 0 # uc1g_pickup_sword_1
}
results {
action:disable_control(01623) # uc1g_open_case_ctrl
action:disable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01625) # uc1g_break_case_ctrl
action:disable_control(01626) # uc1g_grab_hammer
action:disable_control(01628) # uc1g_grab_map
action:enable_control(01629) # uc1g_grab_sword1
action:enable_control(01630) # uc1g_grab_sword2
action:disable_control(01627) # uc1g_cant_grab_hotspot
action:set_screen(uc1gf071.tga)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01621 { # uc1g_screenset
criteria {
[01619] = 1 # uc1g_break_glass
[01550] = 1 # uc1g_pickup_map_1
[01551] = 1 # uc1g_pickup_sword_1
}
results {
action:disable_control(01623) # uc1g_open_case_ctrl
action:disable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01625) # uc1g_break_case_ctrl
action:disable_control(01626) # uc1g_grab_hammer
action:disable_control(01628) # uc1g_grab_map
action:disable_control(01629) # uc1g_grab_sword1
action:disable_control(01630) # uc1g_grab_sword2
action:disable_control(01627) # uc1g_cant_grab_hotspot
action:set_screen(uc1gf081.tga)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01631 { # uc1g_open_case_hammer
criteria {
[01623] = 1 # uc1g_open_case_ctrl
[01549] = 0 # uc1g_pickup_hammer
}
results {
action:assign(01631, 0) # uc1g_open_case_hammer
action:assign(01623, 0) # uc1g_open_case_ctrl
action:assign(01622, 1) # uc1g_case_open
action:syncsound(01616 0 uc1gq02q.raw 22050 16 1 0) # uc1g_open_close_hammer_avi
action:playpreload:01632(01616 0 0 640 344 0 8 1) # uc1g_open_close_hammer_avi
action:disable_control(01623) # uc1g_open_case_ctrl
action:disable_control(01629) # uc1g_grab_sword1
action:disable_control(01630) # uc1g_grab_sword2
action:disable_control(01628) # uc1g_grab_map
}
flags {
once_per_inst
}
}
puzzle:01633 { # uc1g_open_case_hammer_end
criteria {
[01632] = 2 # uc1g_open_case_task_1
}
results {
action:assign(01633, 0) # uc1g_open_case_hammer_end
action:assign(01632, 0) # uc1g_open_case_task_1
action:set_screen(uc1gf021.tga)
action:enable_control(01627) # uc1g_cant_grab_hotspot
action:enable_control(01624) # uc1g_close_case_ctrl
action:enable_control(01626) # uc1g_grab_hammer
}
flags {
once_per_inst
}
}
puzzle:01634 { # uc1g_close_case_hammer
criteria {
[01624] = 1 # uc1g_close_case_ctrl
[01549] = 0 # uc1g_pickup_hammer
}
results {
action:assign(01634, 0) # uc1g_close_case_hammer
action:assign(01624, 0) # uc1g_close_case_ctrl
action:assign(01622, 0) # uc1g_case_open
action:syncsound(01616 0 uc1gq03q.raw 22050 16 1 0) # uc1g_open_close_hammer_avi
action:playpreload:01635(01616 0 0 640 344 8 17 1) # uc1g_open_close_hammer_avi
action:disable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01627) # uc1g_cant_grab_hotspot
action:disable_control(01626) # uc1g_grab_hammer
}
flags {
once_per_inst
}
}
puzzle:01636 { # uc1g_close_case_hammer_end
criteria {
[01635] = 2 # uc1g_close_case_task_1
}
results {
action:assign(01636, 0) # uc1g_close_case_hammer_end
action:assign(01635, 0) # uc1g_close_case_task_1
action:set_screen(uc1gf011.tga)
action:enable_control(01623) # uc1g_open_case_ctrl
action:enable_control(01629) # uc1g_grab_sword1
action:enable_control(01630) # uc1g_grab_sword2
action:enable_control(01628) # uc1g_grab_map
}
flags {
once_per_inst
}
}
puzzle:01637 { # uc1g_open_case_nohammer
criteria {
[01623] = 1 # uc1g_open_case_ctrl
[01549] = 1 # uc1g_pickup_hammer
}
results {
action:assign(01637, 0) # uc1g_open_case_nohammer
action:assign(01623, 0) # uc1g_open_case_ctrl
action:assign(01622, 1) # uc1g_case_open
action:syncsound(01617 0 uc1gq02q.raw 22050 16 1 0) # uc1g_open_close_nohammer_avi
action:playpreload:01638(01617 0 0 640 344 0 12 1) # uc1g_open_close_nohammer_avi
action:disable_control(01629) # uc1g_grab_sword1
action:disable_control(01630) # uc1g_grab_sword2
action:disable_control(01628) # uc1g_grab_map
action:disable_control(01625) # uc1g_break_case_ctrl
action:disable_control(01623) # uc1g_open_case_ctrl
}
flags {
once_per_inst
}
}
puzzle:01639 { # uc1g_open_case_nohammer_end
criteria {
[01638] = 2 # uc1g_open_case_task_2
}
results {
action:assign(01639, 0) # uc1g_open_case_nohammer_end
action:assign(01638, 0) # uc1g_open_case_task_2
action:set_screen(uc1gf041.tga)
action:enable_control(01624) # uc1g_close_case_ctrl
action:enable_control(01627) # uc1g_cant_grab_hotspot
}
flags {
once_per_inst
}
}
puzzle:01640 { # uc1g_close_case_nohammer
criteria {
[01624] = 1 # uc1g_close_case_ctrl
[01549] = 1 # uc1g_pickup_hammer
}
results {
action:assign(01640, 0) # uc1g_close_case_nohammer
action:assign(01624, 0) # uc1g_close_case_ctrl
action:assign(01622, 0) # uc1g_case_open
action:syncsound(01617 0 uc1gq03q.raw 22050 16 1 0) # uc1g_open_close_nohammer_avi
action:playpreload:01641(01617 0 0 640 344 13 24 1) # uc1g_open_close_nohammer_avi
action:disable_control(01624) # uc1g_close_case_ctrl
action:disable_control(01627) # uc1g_cant_grab_hotspot
}
flags {
once_per_inst
}
}
puzzle:01642 { # uc1g_close_case_nohammer_end
criteria {
[01641] = 2 # uc1g_close_case_task_2
}
results {
action:assign(01642, 0) # uc1g_close_case_nohammer_end
action:assign(01641, 0) # uc1g_close_case_task_2
action:set_screen(uc1gf031.tga)
action:enable_control(01625) # uc1g_break_case_ctrl
action:enable_control(01623) # uc1g_open_case_ctrl
action:enable_control(01629) # uc1g_grab_sword1
action:enable_control(01630) # uc1g_grab_sword2
action:enable_control(01628) # uc1g_grab_map
}
flags {
once_per_inst
}
}
puzzle:01643 { # uc1g_dm_speaks_2
criteria {
[01024] ! 1 # voice_over
[01626] = 1 # uc1g_grab_hammer
}
results {
action:kill(01024) # voice_over
action:assign(01582, 4) # person_talking
action:universe_music:01024(1 uw1hh60p.raw 0 100) # voice_over
}
}
puzzle:01549 { # uc1g_pickup_hammer
criteria {
[01626] = 1 # uc1g_grab_hammer
}
results {
action:assign(01644, 1) # uw1k_dm_speaks_2
action:disable_control(01626) # uc1g_grab_hammer
action:set_partial_screen(373 188 uc1gv021.tga 0 -1)
action:music:01645(0 g100h52q.raw 0 100) # uc1g_grab_hammer_audio
action:inventory(add 23)
}
}
puzzle:01619 { # uc1g_break_glass
criteria {
[01625] = 1 # uc1g_break_case_ctrl
[00009] = 23 # Inventory
}
criteria {
[01628] = 1 # uc1g_grab_map
[00009] = 23 # Inventory
}
criteria {
[01629] = 1 # uc1g_grab_sword1
[00009] = 23 # Inventory
}
criteria {
[01630] = 1 # uc1g_grab_sword2
[00009] = 23 # Inventory
}
results {
action:assign(01625, 0) # uc1g_break_case_ctrl
action:assign(01628, 0) # uc1g_grab_map
action:assign(01629, 0) # uc1g_grab_sword1
action:assign(01630, 0) # uc1g_grab_sword2
action:disable_control(01623) # uc1g_open_case_ctrl
action:assign(01646, 1) # uc1g_trying_to_grab_when_unbroken
action:syncsound(01615 0 uc1gq01q.raw 22050 16 1 0) # uc1g_shatter_glass_avi
action:playpreload:01647(01615 0 0 640 344 0 14 1) # uc1g_shatter_glass_avi
}
}
puzzle:01648 { # uc1g_break_glass_end
criteria {
[01647] = 2 # uc1g_shatter_glass_task_1
}
results {
action:disable_control(01625) # uc1g_break_case_ctrl
action:enable_control(01628) # uc1g_grab_map
action:enable_control(01629) # uc1g_grab_sword1
action:enable_control(01630) # uc1g_grab_sword2
}
}
puzzle:01649 { # uc1g_break_glass_emptyclick
criteria {
[01625] = 1 # uc1g_break_case_ctrl
[00009] ! 23 # Inventory
}
results {
action:assign(01625, 0) # uc1g_break_case_ctrl
action:assign(01649, 0) # uc1g_break_glass_emptyclick
}
flags {
once_per_inst
}
}
puzzle:01550 { # uc1g_pickup_map_1
criteria {
[01619] = 1 # uc1g_break_glass
[01628] = 1 # uc1g_grab_map
[01551] = 0 # uc1g_pickup_sword_1
}
results {
action:assign(01650, 1) # uc1g_pickup_map_2
action:disable_control(01628) # uc1g_grab_map
action:set_screen(uc1gf071.tga)
action:assign(00192, 2) # SPELL_2_IN_BOOK
action:dissolve()
action:change_location(g, j, m1, 0)
}
}
puzzle:01650 { # uc1g_pickup_map_2
criteria {
[01619] = 1 # uc1g_break_glass
[01628] = 1 # uc1g_grab_map
[01551] = 1 # uc1g_pickup_sword_1
}
results {
action:assign(01550, 1) # uc1g_pickup_map_1
action:disable_control(01628) # uc1g_grab_map
action:set_screen(uc1gf081.tga)
action:assign(00192, 2) # SPELL_2_IN_BOOK
action:dissolve()
action:change_location(g, j, m1, 0)
}
}
puzzle:01646 { # uc1g_trying_to_grab_when_unbroken
criteria {
[01627] = 1 # uc1g_cant_grab_hotspot
[01024] ! 1 # voice_over
}
results {
action:assign(01627, 0) # uc1g_cant_grab_hotspot
action:music:01651(0 uc1gh07q.raw 0 100) # uc1g_cant_grab_sound
action:kill(01024) # voice_over
action:universe_music:01024(0 uc1gh61p.raw 0 100) # voice_over
}
}
puzzle:01652 { # uc1g_trying_to_grab_empty_clicks
criteria {
[01619] = 0 # uc1g_break_glass
[01628] = 1 # uc1g_grab_map
[00009] ! 23 # Inventory
}
criteria {
[01619] = 0 # uc1g_break_glass
[01629] = 1 # uc1g_grab_sword1
[00009] ! 23 # Inventory
}
criteria {
[01619] = 0 # uc1g_break_glass
[01630] = 1 # uc1g_grab_sword2
[00009] ! 23 # Inventory
}
results {
action:assign(01628, 0) # uc1g_grab_map
action:assign(01629, 0) # uc1g_grab_sword1
action:assign(01630, 0) # uc1g_grab_sword2
action:assign(01652, 0) # uc1g_trying_to_grab_empty_clicks
action:music:01651(0 uc1gh07q.raw 0 100) # uc1g_cant_grab_sound
}
flags {
once_per_inst
}
}
puzzle:01551 { # uc1g_pickup_sword_1
criteria {
[01648] = 1 # uc1g_break_glass_end
[01629] = 1 # uc1g_grab_sword1
[01550] = 0 # uc1g_pickup_map_1
}
criteria {
[01648] = 1 # uc1g_break_glass_end
[01630] = 1 # uc1g_grab_sword2
[01550] = 0 # uc1g_pickup_map_1
}
results {
action:assign(01653, 1) # uc1g_pickup_sword_2
action:disable_control(01629) # uc1g_grab_sword1
action:disable_control(01630) # uc1g_grab_sword2
action:inventory(add 21)
action:music:01654(0 g100h50q.raw 0 100) # uc1g_grab_sword_audio
action:set_screen(uc1gf061.tga)
action:assign(01655, 1) # user_has_sword
}
}
puzzle:01653 { # uc1g_pickup_sword_2
criteria {
[01648] = 1 # uc1g_break_glass_end
[01629] = 1 # uc1g_grab_sword1
[01550] = 1 # uc1g_pickup_map_1
}
criteria {
[01648] = 1 # uc1g_break_glass_end
[01630] = 1 # uc1g_grab_sword2
[01550] = 1 # uc1g_pickup_map_1
}
results {
action:assign(01551, 1) # uc1g_pickup_sword_1
action:disable_control(01629) # uc1g_grab_sword1
action:disable_control(01630) # uc1g_grab_sword2
action:music:01654(0 g100h50q.raw 0 100) # uc1g_grab_sword_audio
action:inventory(add 21)
action:set_screen(uc1gf081.tga)
action:assign(01655, 1) # user_has_sword
}
}
puzzle:01656 { # uc1g_move_backwards
criteria {
[01549] = 0 # uc1g_pickup_hammer
[01657] = 1 # uc1g_backup
}
results {
action:assign(01658, 1) # uc1g_intro_sound
action:assign(01657, 0) # uc1g_backup
action:dissolve()
action:change_location(u, c, 10, 1075)
}
flags {
once_per_inst
}
}
puzzle:01659 { # uc1g_move_backwards_grabbed
criteria {
[01549] = 1 # uc1g_pickup_hammer
[01657] = 1 # uc1g_backup
}
results {
action:assign(01644, 1) # uw1k_dm_speaks_2
action:assign(01643, 1) # uc1g_dm_speaks_2
action:assign(01658, 1) # uc1g_intro_sound
action:assign(01657, 0) # uc1g_backup
action:dissolve()
action:change_location(u, c, 10, 1075)
}
flags {
once_per_inst
}
}
control:01657 push_toggle { # uc1g_backup
flat_hotspot(0, 289, 640, 55)
cursor(backward)
}
control:01623 push_toggle { # uc1g_open_case_ctrl
flat_hotspot(427, 101, 96, 186)
cursor(active)
}
control:01624 push_toggle { # uc1g_close_case_ctrl
flat_hotspot(100, 106, 264, 183)
cursor(active)
}
control:01625 push_toggle { # uc1g_break_case_ctrl
flat_hotspot(124, 120, 283, 180)
cursor(active)
}
control:01627 push_toggle { # uc1g_cant_grab_hotspot
flat_hotspot(366, 133, 101, 157)
cursor(handpu)
}
control:01626 push_toggle { # uc1g_grab_hammer
flat_hotspot(372, 192, 61, 104)
cursor(handpu)
}
control:01628 push_toggle { # uc1g_grab_map
flat_hotspot(171, 201, 181, 77)
cursor(handpu)
}
control:01629 push_toggle { # uc1g_grab_sword1
flat_hotspot(155, 128, 198, 73)
cursor(handpu)
}
control:01630 push_toggle { # uc1g_grab_sword2
flat_hotspot(352, 162, 94, 113)
cursor(handpu)
}
control:01660 flat { # uc1g_flat
}